package com.socialuni.jimei.controller.social;

import com.socialuni.api.model.ResultRO;
import com.socialuni.sdk.api.CosAPI;
import com.socialuni.sdk.model.RO.CosAuthRO;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.io.IOException;

@RestController
public class CosAuthController implements CosAPI {
    @Resource
    CosAPI cosApi;

    public ResultRO<CosAuthRO> getCosAuthorization() throws IOException {
        return cosApi.getCosAuthorization();
    }
}
